Undocumented functions of NTDLL

2OO1, 1O February


NtReleaseSemaphore
NtReleaseSemaphore

NTSYSAPI 
NTSTATUS
NTAPI

NtReleaseSemaphore(
IN HANDLE SemaphoreHandle, IN ULONG ReleaseCount, OUT PULONG PreviousCount OPTIONAL );



Function NtReleaseSemaphore increments semaphore's counter, oposite to any waiting function (semaphore is signaled when semaphore's counter is greater then zero).



Requirements:
Library: ntdll.lib


See also:
NtCreateSemaphore
NtOpenSemaphore
NtQuerySemaphore